const baseURL = '/api/v1'
export default {
  USER: {
    REGISTER: baseURL + '/user/register', // 用户注册
    LOGIN: baseURL + '/user/login', // 用户登录
    LOGOUT: baseURL + '/user/logout',
    USER_INFO: baseURL + '/user/info', // 获取用户信息
  },
  INDEX: {
    INDEX_INFO: baseURL + '/index/info'
  },
  CATEGORY: {
    GET_CATEGORY: baseURL + '/category/all'
  },
  GOODS: {
    SEARCH: baseURL + '/search',
    DETAIL: baseURL + '/goods'
  },
  CART: {
    CART_LIST: baseURL + '/cart/list',
    ADD_CART: baseURL + '/cart/add',
    REMOVE_GOODS: baseURL + '/cart/remove'
  }
}